import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 做适配
import 'amfe-flexible'

// 引入你需要的组件
import { Button , Calendar ,Icon , Empty,Toast , Dialog ,Uploader   } from 'vant'
// 引入组件样式
import 'vant/lib/index.css'

const app = createApp(App)
app.use(createPinia())
app.use(router)

// 注册你需要的组件
const comps = [ Button , Calendar ,Icon , Empty,Toast , Dialog , Uploader]
for(let item of comps){
    app.use(item)
}
app.mount('#app')




